Option

interface Option

Represents a configuration option, typically a key-value pair, used to customize the behavior, appearance, or data sources of various components within the RevelDigital player system.

Option objects are commonly associated with entities like Modules (to define module-specific settings, e.g., scroll speed for a ticker, URL for a web view), Device configurations, or Playlist item properties.

An option consists of a name (the key) and a value. The interpretation of the value often depends on the name of the option and the component it applies to. Developers may need to parse the string value into a more specific type (e.g., boolean, integer, color) based on the option's definition.

See also

// Example of where Options are commonly found

// If Devices can have options

// If Playlists or their items can have options

Functions

Link copied to clipboard
abstract fun getName(): String
Gets the name (key) of this configuration option.
Link copied to clipboard
abstract fun getValue(): String
Gets the value associated with this configuration option.